let mix = require('laravel-mix');

mix.setPublicPath('public')
mix.copy('src/images', 'public/images');
mix.vue();
mix.extract(['axios', 'vue']);
mix.js([
    'src/js/app.js',
    'src/js/config.js'
], 'js');
mix.sass('src/sass/app.scss', 'css');
if (mix.inProduction()) {
    mix.version();
}
mix.browserSync({
    port: 3001,
    server: 'public',
    files: ['./public'],
    notify: false
});